<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>我是首页头部</div>
    {% block content %}
    {% endblock %}
    <div>我是首页尾部</div>

    {% block con %}
    {% endblock %}
<div>我是首页尾部22</div>
</body>
</html>